package cn.bluemobi.platform.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.bluemobi.platform.mapper.AreaMapper;
import cn.bluemobi.platform.service.AreaService;

/**
 * 
 * @author lvxh
 * 
 */
@Service
@Transactional
public class AreaServiceImpl implements AreaService {
    @Autowired
    private AreaMapper areaMapper;

    @Override
    public List<Map<String, Object>> findProvinces(Map<String, Object> params) {
        return areaMapper.findProvinces(params);
    }

    @Override
    public List<Map<String, Object>> findCities(Map<String, Object> params) {
        return areaMapper.findCities(params);
    }

    @Override
    public List<Map<String, Object>> findAreas(Map<String, Object> params) {
        return areaMapper.findAreas(params);
    }

}
